import { moduleRequest } from "./axios";

const GET_PAGE_URL = "page/client";
const EDIT_URL = "edit";

const request = moduleRequest(`/biz/widget/`);
export default {
    getPage(data) {
        return request(GET_PAGE_URL, data, "get");
    },
    edit(data) {
        return request(EDIT_URL, data, "post");
    },
};
